package com.iflytek.tts.TtsService;

public final class Tts {
    static {
        try {
            System.loadLibrary("Aisound");
        } catch (UnsatisfiedLinkError error) {
            System.out.println("load library error: " + error.getMessage());
        }
    }

    public static native int JniCreate(String ttsPath);

    public static native int JniDestory();

    public static native int JniGetParam(int paramKey);

    public static native int JniGetVersion();

    public static native int JniSetParam(int paramKey, int paramValue);

    public static native int JniSpeak(String words);

    public static native int JniStop();
}
